func crypto/tls.unexpectedMessageError
21 uses
crypto/tls (current package)
common.go#L1469: func unexpectedMessageError(wanted, got any) error {
conn.go#L1176: return unexpectedMessageError(helloReq, msg)
handshake_client.go#L187: return unexpectedMessageError(serverHello, msg)
handshake_client.go#L478: return unexpectedMessageError(certMsg, msg)
handshake_client.go#L568: return unexpectedMessageError(shd, msg)
handshake_client.go#L781: return unexpectedMessageError(serverFinished, msg)
handshake_client.go#L808: return unexpectedMessageError(sessionTicketMsg, msg)
handshake_client_tls13.go#L276: return unexpectedMessageError(serverHello, msg)
handshake_client_tls13.go#L395: return unexpectedMessageError(encryptedExtensions, msg)
handshake_client_tls13.go#L446: return unexpectedMessageError(certMsg, msg)
handshake_client_tls13.go#L469: return unexpectedMessageError(certVerify, msg)
handshake_client_tls13.go#L508: return unexpectedMessageError(finished, msg)
handshake_server.go#L139: return nil, unexpectedMessageError(clientHello, msg)
handshake_server.go#L584: return unexpectedMessageError(certMsg, msg)
handshake_server.go#L613: return unexpectedMessageError(ckx, msg)
handshake_server.go#L642: return unexpectedMessageError(certVerify, msg)
handshake_server.go#L717: return unexpectedMessageError(clientFinished, msg)
handshake_server_tls13.go#L433: return unexpectedMessageError(clientHello, msg)
handshake_server_tls13.go#L777: return unexpectedMessageError(certMsg, msg)
handshake_server_tls13.go#L801: return unexpectedMessageError(certVerify, msg)
handshake_server_tls13.go#L847: return unexpectedMessageError(finished, msg)